package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.RegionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface IRegionService {
    void saveOrUpdate(Region user);

    PageInfo<Region> list(QueryObject qo);

    List listByParentId(QueryObject qo);

    void changeStatus(Long id, Integer state);


    List<Region> selectAll(Integer state);
}
